package com.myway.dao;

import com.myway.dto.param.TravelParam;
import com.myway.pojo.TabTravel;
import com.myway.pojo.TabTravelWithBLOBs;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TabTravelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TabTravelWithBLOBs record);

    int insertSelective(TabTravelWithBLOBs record);

    TabTravelWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TabTravelWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TabTravelWithBLOBs record);

    int updateByPrimaryKey(TabTravel record);

    //自定义

    List<TabTravel> selectByHotLoad();

    List<TabTravel> selectByManyInf(TravelParam travelParam);
}